package com.jishucai.rpc.consumer;

import com.jishucai.rpc.client.RpcProxy;
import com.jishucai.rpc.service.SomeService;

public class RpcConsumer {
    public static void main(String[] args) {
        SomeService service = RpcProxy.create(SomeService.class);
        if (service != null) {
            System.out.println(service.hello("账单"));

            System.out.println(service.byebye("账单"));
        }

    }
}
